<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="bnsCollectsList" checkbox="true" fitColumns="false" title="收藏表" actionUrl="bnsCollectsController.do?datagrid" idField="id" fit="true" queryMode="group">
   <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="收藏人Id"  field="collectUserid"   query="true" queryMode="single"  width="120"></t:dgCol>
    <t:dgCol title="收藏人姓名"  field="collectUsername"   query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="被收藏id"  field="bycollectId"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="收藏url"  field="collectUrl"    queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="被收藏名"  field="bycollectName"   query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="收藏类型"  field="collectType"   query="true" queryMode="single" dictionary="clt_type" width="120"></t:dgCol>
   <t:dgCol title="收藏时间"  field="collectTime"    queryMode="single"  width="120"></t:dgCol>
  
   
   <t:dgCol title="操作" field="opt" width="100"></t:dgCol>
   <t:dgDelOpt title="删除" url="bnsCollectsController.do?doDel&id={id}" />
   <t:dgToolBar title="录入" icon="icon-add" url="bnsCollectsController.do?goAdd" funname="add"></t:dgToolBar>
   <t:dgToolBar title="编辑" icon="icon-edit" url="bnsCollectsController.do?goUpdate" funname="update"></t:dgToolBar>
   <t:dgToolBar title="批量删除"  icon="icon-remove" url="bnsCollectsController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar>
   <t:dgToolBar title="查看" icon="icon-search" url="bnsCollectsController.do?goUpdate" funname="detail"></t:dgToolBar>
  </t:datagrid>
  </div>
 </div>
 <script src = "webpage/com/buss/collects/bnsCollectsList.js"></script>		
 <script type="text/javascript">
 $(document).ready(function(){
 		//给时间控件加上样式
 });
 
//导入
function ImportXls() {
	openuploadwin('Excel导入', 'bnsCollectsController.do?upload', "bnsCollectsList");
}

//导出
function ExportXls() {
	JeecgExcelExport("bnsCollectsController.do?exportXls","bnsCollectsList");
}

//模板下载
function ExportXlsByT() {
	JeecgExcelExport("bnsCollectsController.do?exportXlsByT","bnsCollectsList");
}
 </script>